package com.hmall.mapper;

import com.hmall.model.SysCustomer;
import com.hmall.model.SysCustomerKefu;
import com.hmall.util.MyMapper;
import com.hmall.vo.CustomerKefuVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysCustomerKefuMapper extends MyMapper<SysCustomerKefu> {
    List<CustomerKefuVo> selectAllList(@Param("query") String query);

    SysCustomerKefu selectCustomerKefu(@Param("customer_id") Integer customer_id);

    void deleteByCustomerId(@Param("customer_id") Integer customer_id);
}